/* 在style.css中添加 */
.checkout-header {
    background: #4ecdc4;
    color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.back-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.checkout-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.order-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-total {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    text-align: right;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.payment-method {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
}

.payment-method img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

input[type="radio"]:checked + img + span {
    color: #4ecdc4;
    font-weight: bold;
}

.submit-btn {
    background: #4ecdc4;
    color: white;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.empty-cart {
    text-align: center;
    padding: 100px 20px;
}
